package com.gxuwz.zhangjiahui.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *  用户信息表
 * </p>
 *
 * @author zhangjiahui
 * @since 2021-06-20
 */
@Data
@Alias("User") //别名
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private int id;

    @ApiModelProperty(value = "用户名")
    private String userId;

    @ApiModelProperty(value = "密码")
    private String passWord;

    @ApiModelProperty(value = "角色")
    private String RoleId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
